from fastapi import APIRouter
from fastapi.responses import JSONResponse
from config import problem

router = APIRouter(default_response_class=JSONResponse)

@router.get('/list')
async def problem_list():
    return {
        "list": problem.list
    }
